package com.ptu.spzx.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.domain.Delete.DeleteIds;
import com.ptu.spzx.domain.Question.Dto.QuestionDTO;
import com.ptu.spzx.domain.Question.Vo.QuestionVO;
import com.ptu.spzx.domain.Question.po.Question;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YT
 * @since 2024-01-28
 */
public interface IQuestionService extends IService<Question> {

    void addQuestion(QuestionDTO questionDTO);

    QuestionVO queryQuestion(Long id);

   PageInfo<Question> queryQuestionList(Long courseId, Long questionType, Integer pageNum, Integer pageSize);

    void updateQuestion(QuestionDTO questionDTO);

    void delBatchQuestion(DeleteIds deleteIds);
}
